package org.hhgzs.modules.erp.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecg.common.system.base.entity.ErpEntity;

/**
 * <p>
 * 财务子表
 * </p>
 *
 * @author peiqy
 * @since 2021-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("hx_account_item")
public class AccountItem extends ErpEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 表头Id
     */
    private Long headerId;

    /**
     * 账户Id
     */
    private Long accountId;

    /**
     * 收支项目Id
     */
    private Long inOutItemId;

    /**
     * 单据id
     */
    private Long billId;

    /**
     * 应收欠款
     */
    private BigDecimal needDebt;

    /**
     * 已收欠款
     */
    private BigDecimal finishDebt;

    /**
     * 单项金额
     */
    private BigDecimal eachAmount;

    /**
     * 单据备注
     */
    private String remark;

    /**
     * 租户id
     */
    private Long tenantId;

    /**
     * 删除标记，0未删除，1删除
     */
    private String deleteFlag;

}
